//
//  UIView+Five.h
//  WXMedia
//
//  Created by User on 14-8-5.
//  Copyright (c) 2014年 User. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MBProgressHUD.h"
#import <objc/runtime.h>


@interface UIView (Five)

/**信息提示框*/
@property(strong, nonatomic) MBProgressHUD * hud;



/**提示信息*/
- (void)Message:(NSString *)message;

/**提示信息，N秒后关闭*/
- (void)Message:(NSString *)message HiddenAfterDelay:(NSTimeInterval)delay;

/**自定义提示框位置*/
- (void)Message:(NSString *)message YOffset:(float)yoffset HiddenAfterDelay:(NSTimeInterval)delay;

/**展示Loading标示*/
- (void)Loading:(NSString *)message;

- (void)Loading_0314;

/**隐藏*/
- (void)HiddenAfterDelay:(NSTimeInterval)delay;

/**隐藏*/
- (void)Hidden;

/*是否Loading中*/
- (BOOL)IsLoading;
//任意显示界面
- (void)MessageOnAnyViewWith:(NSString *)message HiddenAfterDelay:(NSTimeInterval)delay;
//任意显示loading
- (void)loadingOnAnyView;
//自己的隐藏
- (void)removeAnyView;

@end
